package com.zdxf.conf;

import com.zdxf.util.Result;

/**
 * @author Administrator
 */
public final class Constant {

    public static final Result RESULT_EMPTY = null;

    public static final String STR_BLANK = "";

    public static final String PAGE_INDEX = "1";

    public static final String PAGE_LIMIT = "10";

    public static final Integer HASH_MAP_SIZE = 1024;

    public static final String BIRTHDAY_KEY = "birthday";
    public static final String AGE_KEY = "age";
    public static final String SEX_KEY = "sex";

    public static final Integer ID_CARD_15 = 15;
    public static final Integer ID_CARD_18 = 18;

    public static final Integer MALE = 0;
    public static final Integer FEMALE = 1;

    public static final Integer RESIDENT_PERMANENT = 0;
    public static final Integer RESIDENT_TEMPORARY = 1;

    // 自住
    public static final Integer SELF_LIVING = 0;
    // 出租
    public static final Integer RENT = 1;
    // 空房
    public static final Integer VACANT = 2;
    // 公房
    public static final Integer PUBLIC_HOUSE = 3;
    // 借住
    public static final Integer LOAN = 4;

    // 非重点列管场所
    public static final Integer GOVERNMENT = 0;
    // 行业场所
    public static final Integer BUSINESS = 1;
    // 特种行业
    public static final Integer SPECIAL = 2;
    // 内保单位
    public static final Integer NON_SPECIAL = 3;
    // 寄递业
    public static final Integer DELIVERY = 4;
    // 宗教场所
    public static final Integer RELIGION = 5;

    public static final String CORPORATION_FUNC = "3";

    public static final String PHOTO1 = "_1.PNG";
    public static final String PHOTO2 = "_2.PNG";
    public static final String PHOTO3 = "_3.PNG";
    public static final String PHOTO4 = "_4.PNG";
    public static final String PHOTO5 = "_5.PNG";
    public static final String PHOTO6 = "_6.PNG";

    /**
     * 房屋log图片路径
     */
   /* public static final String HOUSE_LOG_PATH = Constant.class.getClassLoader().getResource("static/images/qr_house.png").getPath();
    public static final String CORPORATION_LOG_PATH = Constant.class.getClassLoader().getResource("static/images/qr_corp.png").getPath();
*/
    public static final String UNDERLINE = "_";
    public static final String FULL_STOP = ".";
    public static final String QUESTION_MARK = "?";
    public static final String EQUALS_SIGN = "=";
    public static final String AND = "&";
    public static final String COMMA = ",";
    public static final String VERTICAL_BAR = "|";
    public static final String PNG = "PNG";

    public static final String HOST_URL = "https://www.safetypolicing.com";
    public static final String PARAM = "param";
    public static final String HOUSE_TYPE = "type";
    public static final String HOUSE = "2";
    public static final String FUNCITON_TYPE = "param1";

    public static final String RESIDENCE_INFO = "residenceinfo";

    public static final Integer QR_CODE_HEIGHT = 400;

    public static final Integer QR_CODE_WIDTH = 400;

    public static final String QR_CODE_PREFIX = "QR";

    public static final String PERSON_PREFIX = "PERSON";

    public static final String HOUSE_PREFIX = "HOUSE";

    public static final String BUILDING_PREFIX = "BUILDING";

    public static final String CORPORATION_PREFIX = "CORPORATION";

    public static final String MESSAGE_PREFIX = "MESSAGE";
/*
   public static final String KERBEROS_KEYTAB = Constant.class.getClassLoader().getResource("static/kerberos/impala.keytab").getPath();
    public static final String KERBEROS_KRB5 = Constant.class.getClassLoader().getResource("static/kerberos/krb5.conf").getPath();*/

    /*public static final String KERBEROS_KEYTAB = Constant.class.getClassLoader().getResource("static/kerberos2/zdxfbdp.keytab").getPath();
    public static final String KERBEROS_KRB5 = Constant.class.getClassLoader().getResource("static/kerberos2/krb5.conf").getPath();*/
/*
    public static final String KERBEROS_KEYTAB = Constant.class.getClassLoader().getResource("fenghuang/zdxfbdp.keytab").getPath();
    public static final String KERBEROS_KRB5 = Constant.class.getClassLoader().getResource("fenghuang/krb5.conf").getPath();*/
}
